﻿using UnityEngine;
using UnityEngine.UI;

/// <summary>
/// CollisionImg
/// 仅仅作为碰撞体的Image, 透明/不渲染图形/响应raycast
/// 
/// -- by lxh
/// </summary>
[AddComponentMenu("UI/CollisionImg")]
public class CollisionImg : Image
{
    /// <summary>
    /// Rebuild方法空实现, 以不渲染Image
    /// </summary>
    /// <param name="canvasUpdate"></param>
    public override void Rebuild(CanvasUpdate canvasUpdate)
    {
    } 
}